package auxilary;

public class Links {
	public static final String PROJECT_BASE = "/snayishandsteel88/";
	private static final String CSS_BASE = PROJECT_BASE + "styles/";
	private static final String SCRIPTS_BASE = PROJECT_BASE + "scripts/";

	public static final class Css {
		private static final String OPEN_TAG = "<link rel='stylesheet' type='text/css' href='";
		private static final String CLOSE_TAG = "' />";
		
		public static final String MAIN 	= OPEN_TAG + CSS_BASE + "style.css" + CLOSE_TAG;
		public static final String USER 	= OPEN_TAG + CSS_BASE + "user.css" + CLOSE_TAG;
		public static final String COURSE 	= OPEN_TAG + CSS_BASE + "course.css" + CLOSE_TAG;
		public static final String PROFILE 	= OPEN_TAG + CSS_BASE + "profile.css" + CLOSE_TAG;
		public static final String SCHEDULE = OPEN_TAG + CSS_BASE + "schedule.css" + CLOSE_TAG;
		public static final String ABOUT 	= OPEN_TAG + CSS_BASE + "about.css" + CLOSE_TAG;
	}
	
	public static final class Scripts {
		private static final String OPEN_TAG = "<script type='text/javascript' src='";
		private static final String CLOSE_TAG = "'></script>";
		
		public static final String FRAME	= OPEN_TAG + SCRIPTS_BASE + "frame.js" + CLOSE_TAG;
		public static final String INDEX	= OPEN_TAG + SCRIPTS_BASE + "index.js" + CLOSE_TAG;
		public static final String JQUERY 	= OPEN_TAG + SCRIPTS_BASE + "jquery-1.6.0.min.js" + CLOSE_TAG;
		public static final String USER 	= OPEN_TAG + SCRIPTS_BASE + "user.js" + CLOSE_TAG;
		public static final String PROFILE 	= OPEN_TAG + SCRIPTS_BASE + "profile.js" + CLOSE_TAG;
		public static final String COURSE 	= OPEN_TAG + SCRIPTS_BASE + "course.js" + CLOSE_TAG;
		public static final String COURSES 	= OPEN_TAG + SCRIPTS_BASE + "courses.js" + CLOSE_TAG;
		public static final String NEW_COURSE 	= OPEN_TAG + SCRIPTS_BASE + "newcourse.js" + CLOSE_TAG;
		public static final String SEARCH 		= OPEN_TAG + SCRIPTS_BASE + "search.js" + CLOSE_TAG;
		public static final String SCHEDULE 	= OPEN_TAG + SCRIPTS_BASE + "schedule.js" + CLOSE_TAG;
	}
	
	public static final class Pages {
		// Basics
		public static final String HOME			= PROJECT_BASE;
		public static final String ABOUT		= PROJECT_BASE + "about.jsp";
		public static final String HELP			= PROJECT_BASE + "help.jsp";

		// Users
		public static final String USERS_BASE	= PROJECT_BASE + "Users/";
		public static final String PROFILE		= USERS_BASE + "Profile";
		public static final String WISHLIST		= USERS_BASE + "Wishlist";
		public static final String USER_COURSES	= USERS_BASE + "Courses";
		public static final String SCHEDULE		= USERS_BASE + "Schedule";
		
		// Courses
		public static final String COURSES_BASE	= PROJECT_BASE + "Courses/";
		public static final String NEW_COURSE	= COURSES_BASE + "New";
		public static final String SEARCH		= COURSES_BASE + "Search";
		
		
	}
}
